package com.base.kongjian.dao;

import java.util.List;
import java.util.Map;

import com.base.kongjian.entity.Kongjian;

public interface KongjianDAO
{
	void save(Kongjian kongjian);
	
	void delete(long id);
	
	Kongjian get(long id);
	
	void update(Kongjian kongjian);
	
	List<Long> query(Map<String, Object> params);
	
	int count(Map<String, Object> params);
	
	Kongjian getByMemberId(long memberId);
}
